#pragma once

#ifdef _AFXDLL
#define DLL_API _declspec(dllexport)
#else
#define DLL_API _declspec(dllimport)
#endif


#include <cv.h>
#include "../Contract/Camera.h"

class CCameraDS;

class DLL_API CWebCam :
    public CCamera
{
public:
    CWebCam(void);
    ~CWebCam(void);

    static int GetCameraCount();

    void  Initialize();
    IplImage* CaptureFrame();
    int deviceId;


private:
    CCameraDS* pCam; 

};

